package com.etone.smartAudit.vo.tool;

import com.etone.smartAudit.enums.ToolType;
import com.etone.smartAudit.vo.FileVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * @author: 蒋学伟
 * @create: 2020-07-08 14:44:10
 * @Description ToolVO
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(value = "工具详情")
public class ToolDetailVO extends ToolBaseVO implements Serializable {

    @ApiModelProperty("说明｜介绍")
    private String remark;

    @ApiModelProperty("详情")
    private String detail;

    @ApiModelProperty("封面")
    private FileVO cover;

    @ApiModelProperty("类型")
    private ToolType type;

    @ApiModelProperty("跳转地址")
    private String url;

    @ApiModelProperty("附件")
    private List<FileVO> files;
}
